<!--
 * @Author: fengxx
 * @Date: 2025-08-20 16:36:09
 * @LastEditors: fengxx
 * @LastEditTime: 2025-08-20 16:40:41
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .container {
        display: grid;
        grid-template-columns: 100px 100px 100px 100px;
        grid-template-rows: 100px 100px 100px;
        grid-row-gap: 30px;
      }
      .item:nth-child(1) {
        background-color: red;
      }
      .item:nth-child(2) {
        background-color: blue;
      }
      .item:nth-child(3) {
        background-color: yellow;
      }
      .item:nth-child(4) {
        background-color: green;
      }
      .item:nth-child(5) {
        background-color: pink;
      }
      .item:nth-child(6) {
        background-color: black;
      }
      .item:nth-child(7) {
        background-color: skyblue;
      }
      .item:nth-child(8) {
        background-color: rgb(22, 107, 86);
      }
      .item:nth-child(9) {
        background-color: palevioletred;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item">1</div>
      <div class="item">2</div>
      <div class="item">3</div>
      <div class="item">4</div>
      <div class="item">5</div>
      <div class="item">6</div>
      <div class="item">7</div>
      <div class="item">8</div>
      <div class="item">9</div>
    </div>
  </body>
</html>
